package com.mp.approvalreq.dao;

import java.sql.SQLException;

/**
 * @author liuqi
 * @date 2018/7/3
 */
public interface OperateApprovalDao {

	/**
	 * 开/关 该祖先id关联的所有子模板 添加临时抄送人
	 *
	 * @param ancestorId
	 * @param switchType
	 * @throws SQLException
	 */
	void switchAllSubTemplateTempCc(Integer ancestorId, Integer switchType) throws SQLException;


	/**
	 * 更新外出地点
	 *
	 * @param outPosition
	 * @param requestId
	 * @throws SQLException
	 */
	void updateOutPosition(String outPosition, Integer requestId) throws SQLException;

	/**
	 * 更改组件内容
	 *
	 * @param content
	 * @param requestId
	 * @param num
	 * @param type
	 * @throws SQLException
	 */
	void updateContent(String content, Integer requestId, Integer num, Integer type) throws SQLException;
}
